package com.schx.budget.service;

import com.schx.budget.dto.FileUploadDTO;
import com.schx.budget.pojo.FileMsg;

import java.io.File;
import java.util.List;

/**
 * @Classname FileService
 * @Description TODO
 * @Date 2021/2/3 16:03
 * @Created by cyh
 */
public interface FileService {



    Boolean fileUpload(FileUploadDTO fileUploadDTO);

    List<FileMsg> getFileList(Integer start,Integer end, String orgid);

    List<FileMsg> queryFileListByFileName(String fileName);

    boolean deleteFile(File file, String fileName);
}
